package com.lin.java.tool.file.service.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Map;


/**
 * @author: linjiang
 * @date: 2025/1/21
 */
@Data
public class FileConfigVO {
    private Long id;
    @NotBlank(message = "平台不能为空")
    @ApiModelProperty("平台")
    private String platform;
    @NotBlank(message = "云上对象存储地址不能为空")
    @ApiModelProperty("云上对象存储地址")
    private String ossUrl;
    @NotBlank(message = "云上对象存储key唯一标识不能为空")
    @ApiModelProperty("云上对象存储key唯一标识")
    private String ossAccessKeyId;
    @NotBlank(message = "云上对象存储key唯一密匙不能为空")
    @ApiModelProperty("云上对象存储key唯一密匙")
    private String ossAccessKeySecret;
    @NotBlank(message = "云上对象存储桶不能为空")
    @ApiModelProperty("云上对象存储桶")
    private String bucket;
    @ApiModelProperty("是否启用（0-否，1-是）")
    private Integer status;
    @ApiModelProperty("额外的参数")
    private Map<String, Object> additionalParams;
}
